<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="applicable-device" content="pc,mobile">
    <meta name="MobileOptimized" content="width"/>
    <meta name="HandheldFriendly" content="true"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=0">
    <link rel="shortcut icon" href="{$domainStatic}/favicon.ico" type="image/x-icon" />
    <title>{$itemInfo.title}_{$settingInfo.siteName}</title>
    <meta name="keywords" content="{$itemInfo.keywords}">
    <meta name="description" content="{$itemInfo.description}">
    
    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/4.1.3/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="{$domainStatic}/{$tplPath}/{$tplName}/css/main.css">
</head>
<body>
{include file='header'}
<div class="layout-main">
    <div class="container mt-3">
        {tag:articlecrumb isHome='1' cid="$itemInfo['cid']" itemId="$itemInfo['id']" ulClass='breadcrumb p-0 bg-transparent' liClass="breadcrumb-item" separator='' /}
    </div>
<div class="container">
    <section class="ssy-box mb-3">
        <section class="ssy-box-body product-detail">
            <div class="row">
                <div class="col-12 col-lg-4">
                    <div class="detail-img mb-3 mb-lg-0">
                        <img src="{$itemInfo.firstImg}"/>
                    </div>
                </div>
                <div class="col-12 col-lg-8">
                    <h1 class="title mb-3" style="font-size: 18px;">
                        {$itemInfo.title}
                    </h1>
                    <p class="mb-3">浏览：{$itemInfo['views']}</p>
                    {tag:articlefield id='v' itemId='$itemInfo["id"]' modelName='$itemInfo["categoryInfo"]["model_name"]'}
	                    {if condition='$v["field"] == "diy_down_url"'}
	                        <p class="mb-3">{$v.title}：<a href="{$itemInfo[$v.field]}">点击下载</a></p>
	                    {else/}
	                        <p class="mb-3">{$v.title}：{$itemInfo[$v.field]}</p>
	                    {/if}
                    {/tag:articlefield}
                </div>
            </div>
        </section>
    </section>
    <section class="ssy-box">
        <div class="ssy-box-heading">
            <h3 class="title">详情</h3>
        </div>
        <section class="ssy-box-body ssy-detail-body">
            {$itemInfo['content']}
        </section>
    </section>
</div>
</div>
    {include file='footer'}
</body>
</html>
